import frappe
from link_history.utils.link_history import is_link_history_disabled

def boot_session(bootinfo):
    """将链接历史设置添加到启动信息中"""
    bootinfo.link_history_disabled = is_link_history_disabled() 